//Ain短信
var PageAinSms = {
    id: "PageAinSms", //页面id
    menu: "i18n.lan.menu.ain", //所属菜单(一级菜单名)
    title: "i18n.lan.menu.PageAinSms", //标题（二级菜单名）
    icon: "icon-me-sms", //图标
    refreshBtnCmd: "AIN_DUMPS", //刷新按钮指令
    saveBtn: true, //保存按钮
    el: [ //控件
        {
            elname: "datagrid",
            rowCount: Device.getNodesCount("ain"),
            data: {
                width: 660,
                columns: [
                    [{
                        field: "index",
                        width: "40px",
                        align: "center",
                    },
                    {
                        field: "alarmSms",
                        editor: Easyui.editor.textbox,
                        dumpKey: "AIN<n>MSG",
                        dumpParamIndex: 0,
                        cmdKey: "AIN<n>MSG",
                        transcode: true,
                        otherFields: "recoverSms",
                        width: 300,
                    },
                    {
                        field: "recoverSms",
                        editor: Easyui.editor.textbox,
                        dumpKey: "AIN<n>MSG",
                        dumpParamIndex: 1,
                        transcode: true,
                        width: 300,
                    }
                    ]
                ],
            }
        },
    ],
}
CmdPage.add(PageAinSms); //添加到页面管理